package com.dao;

import java.util.List;

import com.model.SaleOrder;

public interface SaleOrderDAO {
	// add order
	public boolean addOrder(SaleOrder saleOrder);

	// select order
	public List<?> selectSaleOrder(String key, String type, int page, int rows,
			String sort, String order);

	// serial number
	public int getLastNum();

	public int getTotal();

	public int getLikeTotal(String key, String type);

}
